package com.qf.shopping.pojo.activity;


import java.io.Serializable;

/**
 * 活动表
 */
public class Activity implements Serializable {

  //活动id
  private Long id;

  //活动标题
  private String title;

  //活动分类id
  private Long categoryId;

  //活动链接
  private String url;

  //活动状态 0：未开始 1：进行中 2：已结束
  private Integer state;

  //活动摘要
  private String summary;

  //活动描述
  private String description;

  //活动原始链接
  private String link;

  //活动开始时间
  private Long beginTime;

  //活动结束时间
  private Long endTime;

  //是否栏目推荐 0：否 1：是
  private Integer channelTop;

  //是否首页推荐 0：否 1：是
  private Integer homeTop;

  //pv数
  private Integer pvCount;

  //uv数
  private Integer uvCount;

  //点赞数
  private Integer upCount;

  //收藏数
  private Integer favCount;

  //活动发布状态 0：未发布 1：已发布 2：撤销发布
  private Integer publishState;

  //活动创建人员id
  private Integer createUid;

  //活动创建时间
  private Integer createTime;

  //作者
  private String author;

  //活动撤销发布人员名称
  private String unpublishUname;

  //活动撤销发布时间
  private Integer unpublishTime;

  //SEO关键字
  private String seoKeywords;

  //点赞量
  private Integer likeCount;

  //分享量
  private Integer shareCount;

  //浏览量
  private Integer viewCount;

  //SEO描述
  private String seoDescription;

  //标签
  private String tags;

  //封面照片
  private String coverPic;

  //关联车型
  private String cars;

  //经销商
  private String dealer;

  public Activity() {
  }

  public Activity(Long id, String title, Long categoryId, String url, Integer state, String summary, String description, String link, Long beginTime, Long endTime, Integer channelTop, Integer homeTop, Integer pvCount, Integer uvCount, Integer upCount, Integer favCount, Integer publishState, Integer createUid, Integer createTime, String author, String unpublishUname, Integer unpublishTime, String seoKeywords, Integer likeCount, Integer shareCount, Integer viewCount, String seoDescription, String tags, String coverPic, String cars, String dealer) {
    this.id = id;
    this.title = title;
    this.categoryId = categoryId;
    this.url = url;
    this.state = state;
    this.summary = summary;
    this.description = description;
    this.link = link;
    this.beginTime = beginTime;
    this.endTime = endTime;
    this.channelTop = channelTop;
    this.homeTop = homeTop;
    this.pvCount = pvCount;
    this.uvCount = uvCount;
    this.upCount = upCount;
    this.favCount = favCount;
    this.publishState = publishState;
    this.createUid = createUid;
    this.createTime = createTime;
    this.author = author;
    this.unpublishUname = unpublishUname;
    this.unpublishTime = unpublishTime;
    this.seoKeywords = seoKeywords;
    this.likeCount = likeCount;
    this.shareCount = shareCount;
    this.viewCount = viewCount;
    this.seoDescription = seoDescription;
    this.tags = tags;
    this.coverPic = coverPic;
    this.cars = cars;
    this.dealer = dealer;
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public Long getCategoryId() {
    return categoryId;
  }

  public void setCategoryId(Long categoryId) {
    this.categoryId = categoryId;
  }

  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }

  public Integer getState() {
    return state;
  }

  public void setState(Integer state) {
    this.state = state;
  }

  public String getSummary() {
    return summary;
  }

  public void setSummary(String summary) {
    this.summary = summary;
  }

  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public String getLink() {
    return link;
  }

  public void setLink(String link) {
    this.link = link;
  }

  public Long getBeginTime() {
    return beginTime;
  }

  public void setBeginTime(Long beginTime) {
    this.beginTime = beginTime;
  }

  public Long getEndTime() {
    return endTime;
  }

  public void setEndTime(Long endTime) {
    this.endTime = endTime;
  }

  public Integer getChannelTop() {
    return channelTop;
  }

  public void setChannelTop(Integer channelTop) {
    this.channelTop = channelTop;
  }

  public Integer getHomeTop() {
    return homeTop;
  }

  public void setHomeTop(Integer homeTop) {
    this.homeTop = homeTop;
  }

  public Integer getPvCount() {
    return pvCount;
  }

  public void setPvCount(Integer pvCount) {
    this.pvCount = pvCount;
  }

  public Integer getUvCount() {
    return uvCount;
  }

  public void setUvCount(Integer uvCount) {
    this.uvCount = uvCount;
  }

  public Integer getUpCount() {
    return upCount;
  }

  public void setUpCount(Integer upCount) {
    this.upCount = upCount;
  }

  public Integer getFavCount() {
    return favCount;
  }

  public void setFavCount(Integer favCount) {
    this.favCount = favCount;
  }

  public Integer getPublishState() {
    return publishState;
  }

  public void setPublishState(Integer publishState) {
    this.publishState = publishState;
  }

  public Integer getCreateUid() {
    return createUid;
  }

  public void setCreateUid(Integer createUid) {
    this.createUid = createUid;
  }

  public Integer getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Integer createTime) {
    this.createTime = createTime;
  }

  public String getAuthor() {
    return author;
  }

  public void setAuthor(String author) {
    this.author = author;
  }

  public String getUnpublishUname() {
    return unpublishUname;
  }

  public void setUnpublishUname(String unpublishUname) {
    this.unpublishUname = unpublishUname;
  }

  public Integer getUnpublishTime() {
    return unpublishTime;
  }

  public void setUnpublishTime(Integer unpublishTime) {
    this.unpublishTime = unpublishTime;
  }

  public String getSeoKeywords() {
    return seoKeywords;
  }

  public void setSeoKeywords(String seoKeywords) {
    this.seoKeywords = seoKeywords;
  }

  public Integer getLikeCount() {
    return likeCount;
  }

  public void setLikeCount(Integer likeCount) {
    this.likeCount = likeCount;
  }

  public Integer getShareCount() {
    return shareCount;
  }

  public void setShareCount(Integer shareCount) {
    this.shareCount = shareCount;
  }

  public Integer getViewCount() {
    return viewCount;
  }

  public void setViewCount(Integer viewCount) {
    this.viewCount = viewCount;
  }

  public String getSeoDescription() {
    return seoDescription;
  }

  public void setSeoDescription(String seoDescription) {
    this.seoDescription = seoDescription;
  }

  public String getTags() {
    return tags;
  }

  public void setTags(String tags) {
    this.tags = tags;
  }

  public String getCoverPic() {
    return coverPic;
  }

  public void setCoverPic(String coverPic) {
    this.coverPic = coverPic;
  }

  public String getCars() {
    return cars;
  }

  public void setCars(String cars) {
    this.cars = cars;
  }

  public String getDealer() {
    return dealer;
  }

  public void setDealer(String dealer) {
    this.dealer = dealer;
  }

  @Override
  public String toString() {
    return "Activity{" +
            "id=" + id +
            ", title='" + title + '\'' +
            ", categoryId=" + categoryId +
            ", url='" + url + '\'' +
            ", state=" + state +
            ", summary='" + summary + '\'' +
            ", description='" + description + '\'' +
            ", link='" + link + '\'' +
            ", beginTime=" + beginTime +
            ", endTime=" + endTime +
            ", channelTop=" + channelTop +
            ", homeTop=" + homeTop +
            ", pvCount=" + pvCount +
            ", uvCount=" + uvCount +
            ", upCount=" + upCount +
            ", favCount=" + favCount +
            ", publishState=" + publishState +
            ", createUid=" + createUid +
            ", createTime=" + createTime +
            ", author='" + author + '\'' +
            ", unpublishUname='" + unpublishUname + '\'' +
            ", unpublishTime=" + unpublishTime +
            ", seoKeywords='" + seoKeywords + '\'' +
            ", likeCount=" + likeCount +
            ", shareCount=" + shareCount +
            ", viewCount=" + viewCount +
            ", seoDescription='" + seoDescription + '\'' +
            ", tags='" + tags + '\'' +
            ", coverPic='" + coverPic + '\'' +
            ", cars='" + cars + '\'' +
            ", dealer='" + dealer + '\'' +
            '}';
  }
}
